<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="grid" uri="/WEB-INF/tlds/jqGrid.tld"%>
<%@ taglib prefix="toolbar" uri="/WEB-INF/tlds/toolbar.tld"%>

<form:form commandName="model" cssClass="validate"
	action="provider/provider/save">
	<form:hidden path="id" />
	<div class="header">
		<h2>
			&nbsp;&nbsp;自动升级设置<span><font color="red">（* 为必填项）</font> </span>
		</h2>
	</div>
	<table class=" form-table">
		<tbody>
			
			<tr>
				<td class="td1">考核指标：</td>
				<td class="td2">从<form:select path="serviceTargetId"
						items="${serviceTargetId}" itemLabel="name" itemValue="id"/></td>
			</tr>
			<tr>
				<td class="td1">升级时间设定：</td>
				<td class="td2">从<form:radiobuttons path="type"
						items="${alarmSettingType}" itemLabel="name" itemValue="name"/><form:input path="${distinceDays}" cssStyle="width:30px"
						maxlength="2" cssClass="number" />天<form:input path="${distinceHours}" cssStyle="width:30px"
						maxlength="2" cssClass="number"/>小时<form:input path="${distinceMuts}" cssStyle="width:30px"
						maxlength="2" cssClass="number"/>分</td>
			</tr>
			<tr>
				<td class="td1">升级到：</td>
				<td class="td2"><form:select  path="upgradeTo"
						items="${flowStep}" itemLabel="name" itemValue="name"/></td>
			</tr>

		</tbody>
	</table>	
	<isperp:buttonList>
		<button class="submit"
			onclick="isperp.submitForm({success : function() { isperp.reloadGrid('serviceTargetGrid');  isperp.closeDialog(); }});">确认</button>
	</isperp:buttonList>

</form:form>
